home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group94a.txt
/
000123_icon-group-sender _Tue May 10 12:21:22 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-08-19
|
1KB
Received: by cheltenham.cs.arizona.edu; Tue, 10 May 1994 12:20:19 MST
From: "Art Eschenlauer" <eschen@molbio.cbs.umn.edu>
Message-Id: <9405101721.AA02391@molbio.cbs.umn.edu>
Subject: IconImplementQues: WhenShouldIPollKeyboardForInterrupt
To: icon-group@cs.arizona.edu (icon-group@cs.arizona.edu)
Date: Tue, 10 May 94 12:21:22 CDT
X-Mailer: ELM [version 2.3test PL26]
Status: R
Errors-To: icon-group-errors@cs.arizona.edu
I am modifying the source code for mac standalone icon version 8. I would
like to poll the keyboard frequently to see if the user is trying to
interrupt the process (for instance, to get out of an infinite loop...).
I suppose that I want some routine that is called fairly regularly, like
at the end of every statement (for my use, polling only on input or output
is not sufficient). What C function is called in the interpreter for
every statement? Should I poll the keyboard when that function is called
or in the loop in the calling function or doesn't it matter? (If the answer
is the second choice, what is the calling function?) I can probably figure
this out on my own, but I thought that I'd ask lest I miss something
obvious or not so obvious.
- Art Eschenlauer